<template>
  <div class="badge-box">
    <div class="badge-item">
      <CloudBadge count="25" />
    </div>
    <div class="badge-item">
      <CloudBadge
        count="4"
        :number-style="{
          backgroundColor: '#fff',
          color: '#999',
          boxShadow: '0 0 0 1px #d9d9d9 inset',
        }"
      />
    </div>
    <div class="badge-item">
      <CloudBadge count="109" :number-style="{ backgroundColor: '#52c41a' }" />
    </div>
  </div>
</template>

<script>
  export default {
    title: '5.独立使用',
    subTitle: '不包裹任何元素即是独立使用，可自定样式展现。在右上角的 badge 则限定为红色。',
    data () {
      return {
      }
    },
    methods: {
    }
  }
</script>

<style lang="scss">
  .badge-box {
    display: flex;
  }
  .badge-item {
    padding: 0 20px;
  }
</style>